package com.zhu.rpc.remotec;

import com.zhu.rpc.BetRecord;
import com.zhu.rpc.client.CallType;
import com.zhu.rpc.client.CustomerMethod;
import com.zhu.rpc.client.RemoteConsumer;
import com.zhu.rpc.client.RpcMsgCallBack;

@RemoteConsumer(name = "MoneyService")
public interface MoneyCustomerService {
    void printMoney(int money);

    @CustomerMethod(callType = CallType.Async)
    RpcMsgCallBack<Integer> getMoney(int money);

    BetRecord getBetRecord();

    boolean trueOrFalse(boolean b);
}
